/*
 * @Author: Zhao Star
 * @LastEditors: Zhao Star
 * @Description: *******************
 * @Date: 2019-04-22 09:23:56
 * @LastEditTime: 2019-04-26 15:54:21
 */
import Vue from 'vue'
import Router from 'vue-router'
import Header from '../components/m-header/header.vue'
import Recommend from '../components/recommend/recommend.vue'
import Singer from '../components/singer/singer.vue'
import Rank from '../components/rank/rank.vue'
import Serach from '../components/search/search.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      redirect: '/recommend'
    },
    {
      path: '/recommend',
      component: Recommend
    },
    {
      path: '/header',
      component: Header
    },
    {
      path: '/singer',
      component: Singer
    },
    {
      path: '/rank',
      component: Rank
    },
    {
      path: '/path',
      component: Serach
    }
  ]
})
